#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<malloc.h>
enum co
{
	red
}sd;
int main(void)
{
	/*double a = 113.3;
	int* p = (int*)&a;
	*p = 12;
	*(p + 1) = 23;
	printf("%f", a);
	sd = 11;*/
	int a = 134480385;
	char*p=(char*)&a;
	int temp;
	printf("%p,%d\n%p,%d\n%p,%d\n%p,%d\n", &p[0],p[0], &p[1], p[1], &p[2], p[2], &p[3], p[3]);
	temp = p[0];
	p[0] = p[3];
	p[3] = temp;
	temp = p[1];
	p[1] = p[2];
	p[2] = temp;
	printf("%p,%d\n%p,%d\n%p,%d\n%p,%d\n", &p[0], p[0], &p[1], p[1], &p[2], p[2], &p[3], p[3]);
	printf("%d", a);
	//printf("%d", sd);
	//int* p = malloc(8);
	//printf("%lf,%d", 12.2 + 12, 12 + (int)12.2);
	unsigned char c = (unsigned char)1234.4;
	///printf("%d", c);
	return 0;
}